package main.java.com.zxl.jmx;

public class Hello implements HelloMBean{

    private String name;


    @Override
    public String getName() {
        return name;
    }

    @Override
    public void setName(String name) {
        System.out.println("set name = "+name);
        this.name=name;
    }

    @Override
    public String sayHello() {
        System.out.println("call sayHello!");
        return "hello world";
    }
}
